<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
function addShardTest(){
    var form = document.getElementById("shardTestForm");
    form.action = "/DepotsTableDemo/shardTest/";
    document.getElementById("_method").value = "POST";
    document.forms[0].submit();
}
</script>
<title>Insert title here</title>
</head>
<body>
	<form id="shardTestForm" action="" method="POST">
	<input type="hidden" id="_method" name="_method" value="POST"/>
		<br /> 
		用户名 : <input type="text" name="shardTestName" value="${shardTestBean.userName}" >
		<br /> 
		密      码  : <input type="text" name="password" value="${shardTestBean.password}">
		<br /> 
               年       龄  : <input type="text" name="age" value="${shardTestBean.age}">
		<br /> 
               备      注  : <input type="text" name="remark" value="${shardTestBean.remark}"><br/>
		<input type="button" value="添加" onclick="addShardTest()">
	</form>

</body>
</html>